This series of articles index the "Response Spring's word Wizard"Previously summary Spring Webflux Quick Start | Spring Webflux Performance Test | Spring WebClient performance testThis article sourcePerformance comparison of 1.4.4 synchronous and
These three concepts have been haunting me, I also occasionally will take out the discrimination, until yesterday only to find that they can straighten them out. So learning is such a repetitive process that eventually achieves the effect of
Add another theoretical analysis with high handwriting to facilitate a deeper understanding.
From: http://blog.csdn.net/historyasamirror/article/details/5778378
========================================================== ==============================
5. Asynchronous Queue Deferred
5.1 Overview
An asynchronous queue is a chained object that enhances the management and invocation of callback functions to handle asynchronous tasks.
There are three states of asynchronous queues: initialization
Document directory
In layman's terms
From a program perspective
Http://www.artima.com/articles/io_design_patterns.html
Http://note.sdo.com/u/1434409594/n/lvRFW ~ Kjr2n0lx0ne004_r
Http://www.cnblogs.com/xuxm2007/archive/2011/08/15/2139808.html,
About the network IO synchronization, asynchronous, blocking, non-blocking articles on the web there are many, the search for a comparison, the views are different, even the wiki is not very clear to distinguish between asynchronous and non-blocking.
When looking at some frameworks, such as tornado, We will sometimes mention non-blocking at the implementation level. Some frameworks use async technology. So what is the difference between non-blocking and async?
Below is my understanding:
1.
What's that? PromisesPromises is a specification for asynchronous programming. The goal is to normalize asynchronous processing objects and processing rules. Provides a unified interface for asynchronous programming.?The traditional callback
What isPromisesPromises is a specification for asynchronous programming that standardizes asynchronous processing objects and processing rules and provides a unified interface for asynchronous programming.The traditional callback functionWhen it
5. asynchronous queue Deferred5.1 OverviewAsynchronous queue is a chained object that enhances the management and calling of callback functions for processing asynchronous tasks.Asynchronous queues have three statuses: initialization (unresolved),
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.